<?php

/**
 * Created by PhpStorm.
 * User: evan
 * Date: 2017/8/17
 * Time: 下午6:04
 */
class Mixed_flow extends MY_Api_Controller
{
    public function index()
    {
        $ds_id = (int)$this->input->get_post('ds_id');
        $type  = (int)$this->input->get_post('type');



        $this->load->service('direct_seeding/service_direct_seeding_mixed_flow');
        $data = $this->service_direct_seeding_mixed_flow->index($ds_id, $type);


        $this->json_output($data['data'], $data['status']);
    }
}